const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    devServer: {
        open: true,
        proxy: {
            '/api': {
                // 测试环境
                target: "http://localhost:8098",
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/api'
                }
            }
        }
    }
})
